call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Thu, 3 Jun 2021 12:55:29 +0000 (13:55 +0100)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Thu, 3 Jun 2021 12:55:29 +0000 (13:55 +0100)
commit54b9852622b14ab2f7d1cd793e615ebaa3131ecd
treef3b7690b70bf08674d3c97dbe206dc47a0047a22
parentfcb7fbf52a2bb69c4127f62b397dcdac149129bd
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json